
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-jiantou1"></i>
                    <div class="name">箭头-上</div>
                    <div class="fontclass">.icon-jiantou1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiantou1-copy-copy"></i>
                    <div class="name">箭头-下</div>
                    <div class="fontclass">.icon-jiantou1-copy-copy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow"></i>
                    <div class="name">arrow</div>
                    <div class="fontclass">.icon-arrow</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-delete1"></i>
                    <div class="name">delete</div>
                    <div class="fontclass">.icon-delete1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stytem-freya-icon-"></i>
                    <div class="name">student</div>
                    <div class="fontclass">.icon-stytem-freya-icon-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tounao"></i>
                    <div class="name">tounao</div>
                    <div class="fontclass">.icon-tounao</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-xulie"></i>
                    <div class="name">xulie</div>
                    <div class="fontclass">.icon-xulie</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-heart"></i>
                    <div class="name">heart</div>
                    <div class="fontclass">.icon-heart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stytem"></i>
                    <div class="name">stytem5</div>
                    <div class="fontclass">.icon-stytem</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stytem1"></i>
                    <div class="name">stytem6</div>
                    <div class="fontclass">.icon-stytem1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stytem2"></i>
                    <div class="name">stytem7</div>
                    <div class="fontclass">.icon-stytem2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stytem3"></i>
                    <div class="name">stytem9</div>
                    <div class="fontclass">.icon-stytem3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--teacher"></i>
                    <div class="name">003-teacher</div>
                    <div class="fontclass">.icon--teacher</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--conference"></i>
                    <div class="name">002-conference</div>
                    <div class="fontclass">.icon--conference</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--group-"></i>
                    <div class="name">006-group-1</div>
                    <div class="fontclass">.icon--group-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--team-"></i>
                    <div class="name">001-team-1</div>
                    <div class="fontclass">.icon--team-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--edit"></i>
                    <div class="name">008-edit</div>
                    <div class="fontclass">.icon--edit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--group-1"></i>
                    <div class="name">004-group-2</div>
                    <div class="fontclass">.icon--group-1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--global"></i>
                    <div class="name">003-global</div>
                    <div class="fontclass">.icon--global</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--organization"></i>
                    <div class="name">005-organization</div>
                    <div class="fontclass">.icon--organization</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--group"></i>
                    <div class="name">007-group</div>
                    <div class="fontclass">.icon--group</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--university-"></i>
                    <div class="name">007-university-1</div>
                    <div class="fontclass">.icon--university-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--mortarboard"></i>
                    <div class="name">012-mortarboard</div>
                    <div class="fontclass">.icon--mortarboard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--education"></i>
                    <div class="name">011-education</div>
                    <div class="fontclass">.icon--education</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--university"></i>
                    <div class="name">010-university</div>
                    <div class="fontclass">.icon--university</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--apartment"></i>
                    <div class="name">013-apartment</div>
                    <div class="fontclass">.icon--apartment</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--brain"></i>
                    <div class="name">009-brain</div>
                    <div class="fontclass">.icon--brain</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--home-page"></i>
                    <div class="name">031-home-page</div>
                    <div class="fontclass">.icon--home-page</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--town"></i>
                    <div class="name">014-town</div>
                    <div class="fontclass">.icon--town</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--toy"></i>
                    <div class="name">019-toy</div>
                    <div class="fontclass">.icon--toy</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--museum-"></i>
                    <div class="name">018-museum-1</div>
                    <div class="fontclass">.icon--museum-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--school-"></i>
                    <div class="name">016-school-2</div>
                    <div class="fontclass">.icon--school-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--school"></i>
                    <div class="name">013-school</div>
                    <div class="fontclass">.icon--school</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--ruler"></i>
                    <div class="name">001-ruler</div>
                    <div class="fontclass">.icon--ruler</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--folder-"></i>
                    <div class="name">001-folder-5</div>
                    <div class="fontclass">.icon--folder-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--gallery"></i>
                    <div class="name">003-gallery</div>
                    <div class="fontclass">.icon--gallery</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--folder-1"></i>
                    <div class="name">011-folder-4</div>
                    <div class="fontclass">.icon--folder-1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--folder-2"></i>
                    <div class="name">012-folder-3</div>
                    <div class="fontclass">.icon--folder-2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--folder-3"></i>
                    <div class="name">013-folder-2</div>
                    <div class="fontclass">.icon--folder-3</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--folder-4"></i>
                    <div class="name">015-folder-1</div>
                    <div class="fontclass">.icon--folder-4</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--folder"></i>
                    <div class="name">016-folder</div>
                    <div class="fontclass">.icon--folder</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--list-"></i>
                    <div class="name">014-list-1</div>
                    <div class="fontclass">.icon--list-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--save"></i>
                    <div class="name">002-save</div>
                    <div class="fontclass">.icon--save</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--spreadsheet"></i>
                    <div class="name">019-spreadsheet</div>
                    <div class="fontclass">.icon--spreadsheet</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--pdf"></i>
                    <div class="name">018-pdf</div>
                    <div class="fontclass">.icon--pdf</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--file"></i>
                    <div class="name">022-file</div>
                    <div class="fontclass">.icon--file</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--server"></i>
                    <div class="name">023-server</div>
                    <div class="fontclass">.icon--server</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--document"></i>
                    <div class="name">024-document</div>
                    <div class="fontclass">.icon--document</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--list"></i>
                    <div class="name">017-list</div>
                    <div class="fontclass">.icon--list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--ui"></i>
                    <div class="name">025-ui</div>
                    <div class="fontclass">.icon--ui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--cloud-computing-"></i>
                    <div class="name">026-cloud-computing-</div>
                    <div class="fontclass">.icon--cloud-computing-</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--electronic"></i>
                    <div class="name">028-electronic</div>
                    <div class="fontclass">.icon--electronic</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--vpn"></i>
                    <div class="name">030-vpn</div>
                    <div class="fontclass">.icon--vpn</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--tv"></i>
                    <div class="name">029-tv</div>
                    <div class="fontclass">.icon--tv</div>
                </li>
            
                <li>
                <i class="icon iconfont icon--cloud-computing"></i>
                    <div class="name">027-cloud-computing</div>
                    <div class="fontclass">.icon--cloud-computing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow1L"></i>
                    <div class="name">arrow1R</div>
                    <div class="fontclass">.icon-arrow1L</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow1r"></i>
                    <div class="name">arrow1R</div>
                    <div class="fontclass">.icon-arrow1r</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shezhi-copy"></i>
                    <div class="name">设置</div>
                    <div class="fontclass">.icon-shezhi-copy</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
